﻿using System;
using System.Configuration;

using DBA=DreamCube.Framework.DataAccess.Basic;
using DreamCube.Foundation.Basic.Utility;

namespace DreamCube.Websites.TableDesigner
{
    /// <summary>
    /// 获取数据库连接字符串
    /// </summary>
    public class DBConnectionStrMgr : DBA.IDBConnectionStringMgr
    {
        /// <summary>
        /// 实现获取连接字符串的接口方法
        /// </summary>
        /// <returns></returns>
        public String GetConnectionString()
        {
            return "Data Source=.;Initial Catalog=MISDB;Integrated Security=True";
        }

        /// <summary>
        /// appKeyName
        /// </summary>
        public static String AppKeyName
        {
            get { return "tableDesignerConnectionStringAssembly"; }
        }
    }
}
